$OpenBSD: patch-hotspot_src_share_vm_runtime_virtualspace_cpp,v 1.1 2017/04/21 02:30:40 kurt Exp $
--- hotspot/src/share/vm/runtime/virtualspace.cpp.orig	Thu Apr 20 21:31:26 2017
+++ hotspot/src/share/vm/runtime/virtualspace.cpp	Thu Apr 20 21:32:09 2017
@@ -342,7 +342,7 @@ ReservedHeapSpace::ReservedHeapSpace(size_t size, size
                 (UseCompressedOops && (Universe::narrow_oop_base() != NULL) &&
                  Universe::narrow_oop_use_implicit_null_checks()) ?
                   lcm(os::vm_page_size(), alignment) : 0) {
-  if (base() > 0) {
+  if (base() != 0) {
     MemTracker::record_virtual_memory_type((address)base(), mtJavaHeap);
   }
 
